package bookez.model.service;

import java.util.List;

import bookez.model.businessobject.BusType;
import bookez.model.exception.BusinessLogicLayerException;

public interface BusTypeService {
	
	List<BusType> 	getAllBusType()					throws BusinessLogicLayerException;
	BusType		 	getBusTypeById( Long id )		throws BusinessLogicLayerException;
	BusType			getBusTypeByName( String name ) throws BusinessLogicLayerException;
	boolean			saveBusType( BusType type )		throws BusinessLogicLayerException;
	boolean			createBusType( BusType type )	throws BusinessLogicLayerException;	
}//end interface BusService
